//
//  SendAudioView.h
//  自定义聊天界面和键盘-多选照片-语音-表情-文本
//
//  Created by qinlongqing on 14-10-14.
//  Copyright (c) 2014年 qinlongqing. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>
#import <AudioToolbox/AudioToolbox.h>
@protocol SendVoiceDelegate<NSObject>
- (void)sendVoice:(NSData *)voiceData withVoicelength:(NSString *)length;
@end
@interface SendAudioView : UIView<UIGestureRecognizerDelegate,AVAudioRecorderDelegate>
@property (strong, nonatomic) AVAudioRecorder *recorder;
@property (strong, nonatomic) UILabel *timeLabel;
@property (strong, nonatomic) id<SendVoiceDelegate>voiceDelegate;
@end
